package com.mengxuegu.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 白名单路径放行
 */
@Component
@RefreshScope
@Data
@ConfigurationProperties(prefix = "security.ignore")
public class IgnoreUrlsConfig {

    private List<String> urls;
}
